package com.example.qianfeng.innerclass;

/**
 * 静态内部类
 */
public class StaticInnerClass {
    public static void main(String[] args) {
        Outer.Inner inner = new Outer.Inner();
        inner.print();
    }
}

class Outer {
    static class Inner {
        public void print() {
            System.out.println("this is static class's inner method!");
        }
    }
}
